home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / wsc4vb24 / asdrv16.bas < prev    next >
Encoding:
BASIC Source File  |  1997-10-30  |  1.2 KB  |  28 lines

  1. '
  2. ' ASDRV16.BAS
  3. '
  4.  
  5. Option Explicit
  6.  
  7. DefInt A-Z
  8.  
  9. Global Const ASC_NO_ERROR = 0
  10. Global Const ASC_NOT_ACTIVE_ERROR  = -700
  11. Global Const ASC_CANNOT_OPEN_ERROR = -701
  12. Global Const ASC_DISK_READ_ERROR   = -702
  13. Global Const ASC_INTERNAL_ERROR    = -705
  14. Global Const ASC_NOT_OPEN_ERROR    = -706
  15. Global Const ASC_GET_STATE         = 0
  16. Global Const ASC_GET_ERROR_STATE   = 1
  17. Global Const ASC_GET_ERROR_CODE    = 2
  18.  
  19. Declare Function ascAbort Lib "ASDRV16.DLL" () As Integer
  20. Declare Function ascDriver Lib "ASDRV16.DLL" () As Integer
  21. Declare Function ascGetMessage Lib "ASDRV16.DLL" (ByVal Buffer As String, ByVal Size As Integer) As Integer
  22. Declare Function ascGetParameter Lib "ASDRV16.DLL" (ByVal Parameter As Integer) As Integer
  23. Declare Function ascInit Lib "ASDRV16.DLL" (ByVal Port As Integer, ByVal RxQueSize As Integer, ByVal xFlag As Integer) As Integer
  24. Declare Function ascStartTx Lib "ASDRV16.DLL" (ByVal FileName As String, ByVal CharPace As Integer,ByVal TermChar As Integer,ByVal EchoFlag As Integer) As Integer
  25. Declare Function ascStartRx Lib "ASDRV16.DLL" (ByVal FileName As String, ByVal TermChar As Integer,ByVal FirstWait As Integer,ByVal CharWait,ByVal EchoFlag As Integer) As Integer
  26.  
  27.  
  28.